package com.training.java.interfaces;



public class Cat implements Animal {
	
	private String whatSize;
	private String whatAnimal;
	private String  makeSound;
	private boolean wild;
	private String food;
	private String howFast;
	private int hours;
	
	// constructor & Initializing the initial values 

	Cat (String whatSize,String whatAnimal, String makeSound, boolean wild,String food,String howFast,int hours)
	
		{
		this.whatSize =whatSize;
		this.whatAnimal=whatAnimal;
		this.makeSound = makeSound;
		this.wild=wild;
		this.food=food;
		this.howFast=howFast;
		this.hours=hours;
		}
			
		//methods
	
		
		public String eat()
		{
						
			System.out.println(" Cat is eating...."+ getFood());
			return getFood();
		}
			
		public String walk()
		{
			
			System.out.println("Cat is Walking..."+howFast);
			return howFast;
		}
		
		public  int sleep()
		{
			
			System.out.println("Kitty  Sleeps...." +hours + "hours");
			return hours;
		}

		
		public String getFood() {
			return food;
		}

		public String getHowFast() {
			return howFast;
		}

		public void setHowFast(String howFast) {
			this.howFast = howFast;
		}

		public int getHours() {
			return hours;
		}

		public void setHours(int hours) {
			this.hours = hours;
		}
		
	}
